<h1>Параметры менеджеров</h1>

<div style="width: 50%">
<div class="table_body">
<table class="text">
<tr><th>Имя</th><th>Тип</th><th>Значение</th><th>описание</th><th></th></tr>
{foreach item=ManagerParam from=$ManagerParams}
<tr>
    <td>{$ManagerParam->param_name}</td>
    <td class="mixed">{$ManagerParam->param_type}</td>
    <td class="mixed">{$ManagerParam->param_value}</td>
    <td>{$ManagerParam->param_descr}</td>
    <td><A 
           href="{$fvConfig->get('dir_web_root')}managerparams/edit/?id={$ManagerParam->getPk()}" 
        onclick="go('{$fvConfig->get('dir_web_root')}managerparams/edit/?id={$ManagerParam->getPk()}'); return false;"
        ><img src="{$fvConfig->get('dir_web_root')}img/edit_icon.png" title="редактировать" width="16" height="16"></a><a
           href="javascript: void(0);" 
        onclick="if (confirm('Вы действительно желаете удалить параметр?')) go('{$fvConfig->get('dir_web_root')}managerparams/delete/?id={$ManagerParam->getPk()}'); return false;"
        ><img src="{$fvConfig->get('dir_web_root')}img/delete_icon.png" title="удалить" width="16" height="16"></a>
       </td>
</tr>
{/foreach}
</table>
</div>
{if $ManagerParams->hasPaginate()}
<div id="manager_param_paging" class="paging">
{$ManagerParams->showPager()}
{literal}
<script>
    new Pager("manager_param_paging");
</script>
{/literal}
</div>
{/if}
<div class="operation">
    <a href="{$fvConfig->get('dir_web_root')}managerparams/edit/" onclick="go('{$fvConfig->get('dir_web_root')}managerparams/edit/'); return false;" class="add">добавить</a>
    <div style="clear: both;"></div>
    
</div>
</div>